using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MySimpleFarseerMonogame
{
    public static class Helper
    {
        const float DisplayUnitToSimRatio = 0.5f;

        public static Int32 ConvertSimToDisplay(float dist){
            return Convert.ToInt32(dist / DisplayUnitToSimRatio);
        }

        public static Single ConvertDisplayToSim(Int32 pix){
            return pix * DisplayUnitToSimRatio;
        }

    }
}
